Upgrading Extension V1 to V2

Extensions are a programming model where functionality is defined as an addition to existing objects and defines how they are different or modify the behavior of the solution. The following Steps are necessary for Extension Upgrades:


  1. Convert the source code from C/AL to the AL syntax.
  2. Complete the development of the extension in AL syntax.
  3. Write upgrade code to restore and modify data from the V1 Extension tables.
  4. Build the extension.
  5. Uninstall the V1 extension, and publish and run upgrade on the V2 extension.

Project: Convertion from C/AL to AL Example02

Now the only thing left is complete the development of the extension. We now have the source code from our AL Files which we can open in Visual Studio Code and modify or add Code.

We might run into some compilation Errors. For more Information see Here